var children_process = require('child_process')
var worker = children_process.fork('./worker.js', ['abcdefg'])
worker.on('exit', () => console.log('children process exit'))
worker.send({hello: 'child'})
worker.on('message', msg => {
  console.log('from child', msg)
})